import Vue from 'vue'
import VueRouter from 'vue-router'
import Atlas from '../views/Atlas.vue'
import Home from '../views/Home.vue'
import Collection from '../views/Collection.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/atlas',
    name: 'atlas',
    component: Atlas
  },
  {
    path: '/',
    name: 'home',
    component: Home
  },
  {
    path: '/collection',
    name: 'collection',
    component: Collection
  }
]

const router = new VueRouter({
  routes
})

export default router
